export const controlSubRoutes: any[] = [
  {
    name: '财务售后',
    path: '/control/financialAfterSale',
    redirect: '/control/financialAfterSale/index',
    component: () => import('../../views/control/financialAfterSale/index.vue'),
    children: [
      {
        name: '首页',
        path: '/control/financialAfterSale/index',
        component: () => import('../../views/control/financialAfterSale/index/index.vue'),
        children: []
      },
      {
        name: '财务流水',
        path: '/control/financialAfterSale/financialStatement',
        component: () =>
          import('../../views/control/financialAfterSale/financialStatement/index.vue'),
        children: []
      },
      {
        name: '查看工单',
        path: '/control/financialAfterSale/workOrder',
        component: () => import('../../views/control/financialAfterSale/workOrder/index.vue'),
        children: []
      },
      {
        name: '发票管理',
        path: '/control/financialAfterSale/invoice',
        component: () => import('../../views/control/financialAfterSale/invoice/index.vue'),
        children: []
      },
      {
        name: '合同管理',
        path: '/control/financialAfterSale/contract',
        component: () => import('../../views/control/financialAfterSale/contract/index.vue'),
        children: []
      },
      {
        name: '选择合同',
        path: '/control/financialAfterSale/contractors',
        component: () => import('../../views/control/financialAfterSale/contract/contractors.vue'),
        children: []
      },
    ]
  },
  {
    name: '项目管理',
    path: '/control/cloudService',
    redirect: '/control/myServer/cloudService',
    component: () => import('../../views/control/myServer/index.vue'),
    children: [
      {
        name: '云服务器',
        path: '/control/myServer/cloudService',
        component: () => import('../../views/control/myServer/cloudService/index.vue'),
        children: []
      },
      {
        name: '政务云',
        path: '/control/myServer/cloudGovernment',
        component: () => import('../../views/control/myServer/cloudGovernment/index.vue'),
        children: []
      },
      {
        name: '云市场',
        path: '/control/myServer/cloudMarketplace',
        component: () => import('../../views/control/myServer/cloudMarketplace/index.vue'),
        children: []
      },
      {
        name: '安全组',
        path: '/control/myServer/safeGroups',
        // hidden: true,
        component: () => import('../../views/control/myServer/safeGroups/index.vue'),
        children: []
      },
      {
        name: '变更',
        path: '/control/myServer/change',
        // hidden: true,
        component: () => import('../../views/control/myServer/change/index.vue'),
        children: []
      }
    ]
  },
  {
    name: '我的订单',
    path: '/control/order',
    redirect: '/control/order/myShoppingCart',
    component: () => import('../../views/control/order/index.vue'),
    children: [
      {
        name: '我的购物车',
        path: '/control/order/myShoppingCart',
        component: () => import('../../views/control/order/myShoppingCart/index.vue'),
        children: []
      },
      {
        name: '我的订单',
        path: '/control/order/MyOrder',
        component: () => import('../../views/control/order/MyOrder/index.vue'),
        children: []
      }
    ]
  },
  {
    name: '我的消息',
    path: '/control/message',
    redirect: '/control/message/myMessage',
    component: () => import('../../views/control/message/index.vue'),
    children: [
      {
        name: '我的消息',
        path: '/control/message/myMessage',
        component: () => import('../../views/control/message/myMessage/index.vue'),
        children: []
      }
    ]
  },
  {
    name: '充值',
    path: '/control/recharge',
    redirect: '/control/recharge/myRecharge',
    component: () => import('../../views/control/recharge/index.vue'),
    children: [
      {
        name: '充值',
        path: '/control/recharge/myRecharge',
        component: () => import('../../views/control/recharge/myRecharge/index.vue'),
        children: []
      },
      {
        name: '支付',
        path: '/control/recharge/startPay',
        component: () => import('../../views/control/recharge/startPay/index.vue'),
        children: []
      }
    ]
  }
]
